package com.vrv.common.resolver.dispatcher;

import android.content.Context;

import com.vrv.common.resolver.RequestParameter;
import com.vrv.common.resolver.Response;
import com.vrv.common.resolver.remote.RequestUtils;

public class RemoteRequestHandler implements RequestState {

    @Override
    public Response handler(Context mContext, RequestParameter parameter, String[] detailKeys) {
        String resultString = RequestUtils.getInstance().request(parameter, detailKeys);
        return RequestUtils.getInstance().parse(resultString, detailKeys);
    }

}
